package com.hqyj.ssm_project.pojo;

public class Function {
    private Integer functionId;

    private String functionName;

    private String functionAddress;
    private Integer functionFatherId;

    private Function fatherFunction;

    @Override
    public String toString() {
        return "Function{" +
                "functionId=" + functionId +
                ", functionName='" + functionName + '\'' +
                ", functionAddress='" + functionAddress + '\'' +
                '}';
    }

    public Function getFatherFunction() {
        return fatherFunction;
    }

    public void setFatherFunction(Function fatherFunction) {
        this.fatherFunction = fatherFunction;
    }

    public Integer getFunctionFatherId() {
        return functionFatherId;
    }

    public void setFunctionFatherId(Integer functionFatherId) {
        this.functionFatherId = functionFatherId;
    }

    public Integer getFunctionId() {
        return functionId;
    }

    public void setFunctionId(Integer functionId) {
        this.functionId = functionId;
    }

    public String getFunctionName() {
        return functionName;
    }

    public void setFunctionName(String functionName) {
        this.functionName = functionName == null ? null : functionName.trim();
    }

    public String getFunctionAddress() {
        return functionAddress;
    }

    public void setFunctionAddress(String functionAddress) {
        this.functionAddress = functionAddress == null ? null : functionAddress.trim();
    }


}